WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint A

Total Complexity 71
Dependencies 31
Dependents 2
Total lines 542
Lines of code 266
Logical lines of code 138
Comment lines 176
Methods 11
Properties 16

Methods 11

Method Rating Maintainability Complexity Lines of code
handle_request()
C
32 27 94
create_paypal_order()
A
41 13 60
payer()
A
50 11 26
after_checkout_validation()
S
52 4 25
payment_method()
S
63 4 11
set_bn_code()
S
66 3 8
validate_form()
S
63 3 10
validate_paynow_form()
S
68 3 7
__construct()
S
58 1 16
nonce()
S
80 1 3
make_response()
S
71 1 6